import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path:'/',
      name:'login',
      component: () => import('../views/LoginView.vue'),
    },
    {
      path:'/index',
      name:'index',
      component: () => import('../views/IndexView.vue'),
    },
    {
      path:'/merchants',
      name:'merchants',
      component: () => import('../views/MerchantList.vue'),
    },
  ],
})


export default router
